# Contributor: Guy Godfroy <guy.godfroy@gugod.fr>
# Maintainer: Guy Godfroy <guy.godfroy@gugod.fr>
pkgname=git-quick-stats
pkgver=2.5.8
pkgrel=0
pkgdesc="Access various statistics in git repository"
url="https://git-quick-stats.sh"
arch="noarch"
license="MIT"
depends="bash git util-linux ncurses coreutils"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/arzzen/git-quick-stats/archive/refs/tags/$pkgver.tar.gz"

check() {
	bash tests/commands_test.sh
}

package() {
	install -Dm0755 git-quick-stats -t "$pkgdir"/usr/bin/
	install -Dm0644 git-quick-stats.1 -t "$pkgdir"/usr/share/man/man1/
}

sha512sums="
fe5f38bf31ba4da34a421ecbbad57606f956cec2c2714c16735eb0e1dfb46da0b6dd8581c59f0f9888c3339550d1cb9cfaaab65d86afd91f9d286f2bbc699cf2  git-quick-stats-2.5.8.tar.gz
"
